<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>广东环境保护工程职业学院</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <script src="__JS__/jquery.js"></script>
    <script src="__JS__/home.js"></script>
    <link rel="stylesheet" href="__CSS__/home.css">
</head>
<body>
<!--PC端-->
<!--大盒子-->
<div id="container">
    <!--头部-->
<header>
    <div id="top-left"></div>
    <div id="top-right">
        <ul>
            {if condition="$Request.session.info.name"}
            <li><a href="{:url('center')}">{$Request.session.info.name},欢迎您</a></li>
            <li><a href="{:url('center')}">个人中心</a></li>
            <li><a href="{:url('find')}?type=1">找回密码</a></li>
            <li><a href="{:url('logout')}">退出</a></li>
            {else /}
            <li><a href="{:url('login')}?type=1">用户登陆</a></li>
            <li><a href="{:url('register')}?type=1">用户注册</a></li>
            <li><a href="{:url('find')}?type=1">找回密码</a></li>
            {/if}

        </ul>

    </div>
</header>
    <!--主页行-->
    <div id="firstpage"><a href="{:url('index')}">主 页</a></div>

<section>
    <div id="left">
        {__CONTENT__}
    </div>
    <div id="right">
       <div id="up">
           <div id="rightop">公告</div>
           <ul>
               {foreach $notice as $v}
               <li><a href="{:url('content')}?id={$v.id}&type=2">{$v.title|substr=0,48}</a><span>{$v.time|substr=0,10}</span></li>
               {/foreach}
           </ul>

       </div>
        <div id="down">
            <div id="rightop">常见问题</div>
            <ul>
                {foreach $question as $v}
                <li><a href="{:url('content')}?id={$v.id}&type=3">{$v.title|substr=0,48|}</a><span>{$v.time|substr=0,10}</span></li>
                {/foreach}
            </ul>
        </div>
    </div>
</section>
    <footer>
        <p>广东环境保护工程职业学院</p>
            <p><a style="color: #737677" href="{:url('@admin')}">版权所有©2018</a></p>
    </footer>
</div>

</body>
</html>
